home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0150.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  673 b   |  23 lines

  1. Okay, see if someone can help me out here. What I want is to take an ordinary
  2. textfile and process in certain ways. What I need to do is to
  3.  
  4. 1. Determine how many lines of text it is in it. How?
  5. 2. Use the above value making a for-loop like
  6.  
  7. For a=1 to <the value mentioned>
  8.     grab one line of text and insert it in t$(a)
  9. next 
  10.  
  11. I've tried with input # and line input # but they seem to want to grab the whole
  12. text in one chunk.
  13.  
  14. Any help appreciated.
  15.  
  16. ---
  17. Facts are stubborn things; and whatever may be our wishes, our inclinations, or 
  18. the dictates of our passions, they cannot alter the state of facts and evidence.
  19. ---
  20. Do files get embarrassed when they get unzipped?
  21.  
  22.  
  23.